﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Business;
using Should;

namespace UnitTestBokning
{
    [TestClass]
    public class TestUtilities
    {
        [TestMethod]
        public void firstUpper_ExpectFirstLetterToBeUpperCase()
        {
            var utilities = new Utilities();

            utilities.FirstUpper("nisse").ShouldEqual("Nisse");
        }

        [TestMethod]
        public void firstUpper_WhenNull_ExpectNull()
        {
            var utilities = new Utilities();

            utilities.FirstUpper(null).ShouldEqual(null);
        }

        [TestMethod]
        public void firstUpper_WhenOneLetter_ExpectOneUpperLetter()
        {
            var utilities = new Utilities();

            utilities.FirstUpper("x").ShouldEqual("X");
        }

    }
}
